* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

body {
    max-width: 100vw;
}

/* Nav beginning */
header {
    text-align: center;
    color: #ffffff;
    padding: 1rem 0;
    background-image: linear-gradient(to right, rgb(0, 0, 0), rgb(15, 8, 80));
}

a {
    text-decoration: none;
    color: #ffffff;
}

a::after {
    text-decoration: none;
    color: #ffffff;
}

.lead {
    font-size: 30px;
    font-weight: 600;
    padding-bottom: 1rem;
}

#nav-toggle {
    display: none;
}

.nav-list.show {
    display: block;
}

.nav-list.show>ul {
    display: flex;
    flex-direction: column;
}

.nav-list.show>ul>li {
    text-align: center;
}

.nav-list.show>ul>li>a {
    padding: 1rem 0;
}

nav ul {
    display: flex;
    flex-direction: row;
    list-style: none;
    justify-content: space-around;
}

nav ul li {
    border-radius: 5px;
    padding: .25rem .5rem;
}

nav ul li a {
    display: inline;
    color: #ffffff;
    text-decoration: none;
}

nav ul li a::after {
    content: '';
    width: 0%;
    left: 0;
    height: 2px;
    background: #ffffff;
    display: block;
    transition: 1s;
}

nav ul li a:hover::after {
    width: 100%;
}

.bot {
    background-color: #878585;
}

/* Media Query */

@media (max-width: 600px) {
    * {
        padding: 0;
        margin: 0;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    .footer{
        display: flex;
        flex-direction: column;
        gap: 5rem;
        text-align: center;
    }

    /* Adjusted max-width for mobile view */
    .nav-list {
        display: none;
    }

    nav ul li a {
        display: inline;
        color: #ffffff;
        text-decoration: none;
        font-size: 2rem;
    }

    #nav-toggle {
        display: block;
        background-color: #ffffff;
        /* White background */
        color: #000000;
        /* Black text */
        border: 2px solid #000000;
        /* Black border */
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 16px;
    }

    #nav-toggle:hover {
        background-color: #080427;
        color: #ffffff;
    }

    #nav-toggle:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
        /* White focus outline */
    }
}

@media (max-width: 800px) {

    header {
        text-align: left;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .lead {
        font-size: 30px;
    }
    }


@media (max-width: 1200px) {

    header {
        text-align: left;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .lead {
        font-size: 30px;
    }

}

/* Nav ending */


.scrolling-texts-container {
    padding: 10px;
    background: transparent;
}

.scrolling-texts {
    animation: marque 12s linear infinite, changeColor 5s infinite;
    font-size: 20px;
    width: min-content;
    height: min-content;
    font-weight: bold;
    overflow: hidden;
    white-space: nowrap;
}

/* Keyframes for the scrolling animation */
@keyframes marque {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

@keyframes changeColor {
    0%, 100% {
        color: red;
    }

    25% {
        color: blue;
    }

    50% {
        color: rgb(3, 99, 1);
    }

    75% {
        color: rgb(255, 94, 0);
    }
}

.main {
    display: flex;
    justify-content: center;
    padding: 2em;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    width: 100%;
    box-sizing: border-box;
    min-height: 100vh;
}

.main {
    background-image: url(./Images/BOT\ BG.jpg);
    background-size: cover;
    background-position: center;
}

.post-main {
    background: rgba(255, 255, 255, 0.1);
    width: 100%;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trustees {
    background-color: #f7f7f7;
    padding: 2em;
    border: 1px solid #6c0303;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    width: fit-content;
}

.trustees ul {
    display: flex;
    flex-wrap: wrap-reverse;
    gap: 4;
    justify-content: space-evenly;
}

.trustees li {
    display: flex;
    flex-direction: column;
    padding: 20px;
    width: calc(25% - 40px);
    align-items: center;
}

.trustees p{
    display: flex;
    flex-wrap: wrap;
    }

.trustees img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 10px;
    object-fit: cover;
}

.trustees h3 {
    margin-top: 0;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.trustees p {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .trustees li {
        width: calc(50% - 40px);
    }
}

@media (max-width: 480px) {
    .trustees li {
        width: 100%;
    }

    .trustees ul {
        flex-direction: column;
    }
}

.footer {
    background-color: #000000;
    color: #ffffff;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 5%;
    margin: auto;
}

.footer div {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer div p {
    text-decoration: underline;
}

.Company h3 {
    text-decoration: none;
}
